import { requests } from "../requests"

export const reqCouponList = () => {
    return requests({
        url: "/coupon/list",
        method: 'get',
    })
}

export const reqCouponPost = (data) => {
    return requests({
        url: "/coupon/post/" + data,
        method: 'post',
    })
}

export const getUserCoupon = () => {
    return requests({
        url: "/coupon/getUserCoupon",
        method: 'get',
    })
}